package org.canto.poss.instr.core.abnormal;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Description: 通用异常类
 *
 * @author jsryin
 * @date 2024/7/16 8:02
 */
public class GeneralException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    private static final Logger logger = LoggerFactory.getLogger(GeneralException.class);
    private Object[] parameters;

    public GeneralException(String message) {
        super(message);
    }

    public GeneralException(String message, Throwable cause) {
        super(message, cause);
    }

    public GeneralException(Throwable cause) {
        super(cause);
    }

    public GeneralException(String message, Object... parameters) {
        super(message);
        this.parameters = parameters;
    }

}
